/*
 * AGENT SHERPA
 *  
 * Assignement 2 of the Agent Oriented Software Engineering Course
 * M.Sc. in Advanced Software Engineering (Part-time)
 * University College Dublin www.ucd.ie
 *
 * Copyright (c) 2007 Chris Walsh, Aidan Morrisy and Iain Hull.
 * All rights reserved.
 */

package org.agentsherpa;

import org.agentsherpa.model.Drone;

/**
 * Report of the status of the drone
 */
public class StatusPerceptor extends BasePerceptor {
    /**
     * percieve the possible movements and the contents of the squares around.
     */
    public void perceive() {
        try {
            SimulatorService simulator = getSimulator();
            Drone me = simulator.getDrone(this.agent);

            adoptBelief("BELIEF(status("+ me.getStatus()+"))");
        }
        catch(PerceptorException e) {
            e.printStackTrace();
        }
    }

}
